package com.huijie.core.common;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;

/**
 * @ClassName BaseTenantEntity
 * @Description 多租户基础实体类
 * @Author zyc
 * @Date 2019/1/8 14:21
 * @Version 1.0
 */
public abstract class BaseTenantEntity extends BaseEntity{

    @TableField(fill = FieldFill.INSERT)
    protected Integer tenantId;

    public Integer getTenantId() {
        return tenantId;
    }

    public void setTenantId(Integer tenantId) {
        this.tenantId = tenantId;
    }
}
